﻿CREATE TABLE [dbo].[GroupAttrib] (
    [GroupID]           INT       NOT NULL,
    [AttribID]          INT       NOT NULL,
    [Value]             NVARCHAR(50) NOT NULL,
    [GrpAttribDisabled] BIT       NOT NULL,
    CONSTRAINT [FK_GroupAttrib_Attrib] FOREIGN KEY ([AttribID]) REFERENCES [dbo].[Attrib] ([AttribID]),
    CONSTRAINT [FK_GroupAttrib_Group] FOREIGN KEY ([GroupID]) REFERENCES [dbo].[Group] ([GroupID])
);

